using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CanvasStatic : BaseUIForm
{
    public void Awake()
    {
        //为默认值时，可以不写
        base.CurrentUIType.UIForms_Type = UIFormType.Fixed;
        base.CurrentUIType.UIForms_ShowMode = UIFormShowMode.Normal;
        base.CurrentUIType.UIForms_LucencyType = UIFormLucencyType.Lucency;


        RegisterButtonObjectEvent("Button-Check", p =>
        {
            OpenUIForm("CheckPopUp");
        });
        RegisterButtonObjectEvent("Button-officialRank", p =>
        {
            OpenUIForm("OfficialRankPopUp");
        });
        
        RegisterButtonObjectEvent("Button-Achievement", p =>
        {
            OpenUIForm("AchievementPopUp");
        });
        RegisterButtonObjectEvent("Button-Activities",LogonSys);
    }
    
}
